package com.ruoyi.business.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.business.domain.Alarm;
import com.ruoyi.business.mapper.AlarmMapper;
import com.ruoyi.business.service.AlarmService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 告警信息Service业务层处理
 *
 * @author JerryLu
 * @date 2024/9/19 15:22
 * @return
 */
@Service
public class AlarmServiceImpl extends ServiceImpl<AlarmMapper, Alarm> implements AlarmService {
    @Override
    public List<Alarm> queryList(Alarm alarm) {
        QueryWrapper<Alarm> queryWrapper = Wrappers.query();
        return this.list(queryWrapper);
    }
}
